import axios, { Axios } from "axios";
const context = "/deviceservice";
/**
 * 获取 PullTeaDataDict 分页列表
 */
export function getPullTeaDataDictPagination(data: any) {
  return axios.get(`${context}/pullTeaDataDict/pagination`, { params: data });
}

/**
 * 获取 PullTeaDataDict 所有数据
 */
export function getPullTeaDataDictAllList(data: any) {
  return axios.get(`${context}/pullTeaDataDict/all`, { params: data });
}

/**
 * 获取 PullTeaDataDict 详情
 */
export function getPullTeaDataDictDetailById(id: any) {
  return axios.get(`${context}/pullTeaDataDict/${id}`, { params: { id } });
}

/**
 * 新增 PullTeaDataDict
 */
export function addPullTeaDataDict(data: any) {
  return axios.post(`${context}/pullTeaDataDict`, data);
}

/**
 * 修改 PullTeaDataDict
 */
export function updatePullTeaDataDict(data: any) {
  return axios.put(`${context}/pullTeaDataDict`, data);
}

/**
 * 删除 PullTeaDataDict
 */
export function batchRemovePullTeaDataDict(data: any) {
  return axios.post(`${context}/pullTeaDataDict/batchRemove`, data);
}
